﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;

namespace dacli.vistas.reportes
{
    public partial class Reportes : Form
    {
        public Reportes()
        {
            InitializeComponent();
            rptPedidos a = new rptPedidos();            
            a.SetDatabaseLogon("root", "");
            
        //   DataSet dataset = new dacliDataSet();            
            
          //  a.SetDataSource(dataset);      
      
            crystalReportViewer1.ReportSource = a;
            crystalReportViewer1.Refresh();
            crystalReportViewer1.Update();

        }

        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            
        }
    }
}
